import request from '@/utils/request'

// 查询岗位列表
export function listPost(query) {
  return request({
    url: '/system/collage_department/list',
    method: 'get',
    params: query
  })
}

export function getPost(studentId) {
  return request({
    url: 'system/collage_department' + studentId,
    method: 'get'
  })
}

export function addPost(data) {
  return request({
    url: 'system/collage_department/add',
    method: 'post',
    data: data
  })
}
export function addList(data) {
  return request({
    url: 'system/collage_department/addList',
    method: 'post',
    data: data
  })
}

export function disappear(collage_department_id,data) {
  return request({
    url: 'system/collage_department/disappear/' + collage_department_id,
    method: 'post',
    data: data
  })
}
